using System;
using System.Collections.Generic;
using NewDDSys.IDAL;
using System.Text;

namespace NewDDSys.Factory
{
    public sealed class DALFactory
    {

        public static IWorkDAL CreateWorkDAL()
        {
            return (IWorkDAL)DependencyInjector.GetDALObject("WorkDAL");
        }
        public static IJddxDAL CreateJddxDAL()
        {
            return (IJddxDAL)DependencyInjector.GetDALObject("JddxDAL");
        }
        public static IJbDAL CreateJbDAL()
        {
            return (IJbDAL)DependencyInjector.GetDALObject("JbDAL");
        }
        public static IKcDAL CreateKcDAL()
        {
            return (IKcDAL)DependencyInjector.GetDALObject("KcDAL");
        }
        public static IXkcdtDAL CreateXkcdtDAL()
        {
            return (IXkcdtDAL)DependencyInjector.GetDALObject("XkcdtDAL");
        }
        public static IFcDAL CreateFcDAL()
        {
            return (IFcDAL)DependencyInjector.GetDALObject("FcDAL");
        }
        public static IHweekplanDAL CreateHweekplanDAL()
        {
            return (IHweekplanDAL)DependencyInjector.GetDALObject("HweekplanDAL");
        }
        public static ILweekplanDAL CreateLweekplanDAL()
        {
            return (ILweekplanDAL)DependencyInjector.GetDALObject("LweekplanDAL");
        }
        public static IWeekotherDAL CreateWeekotherDAL()
        {
            return (IWeekotherDAL)DependencyInjector.GetDALObject("WeekotherDAL");
        }
        public static IKfhbDAL CreateKfhbDAL()
        {
            return (IKfhbDAL)DependencyInjector.GetDALObject("KfhbDAL");
        }
        public static IDdhbDAL CreateDdhbDAL()
        {
            return (IDdhbDAL)DependencyInjector.GetDALObject("DdhbDAL");
        }
        public static IYsjhDAL CreateYsjhDAL()
        {
            return (IYsjhDAL)DependencyInjector.GetDALObject("YsjhDAL");
        }
        public static IYhDAL CreateYhDAL()
        {
            return (IYhDAL)DependencyInjector.GetDALObject("YhDAL");
        }
        public static IHcrDAL CreateHcrDAL()
        {
            return (IHcrDAL)DependencyInjector.GetDALObject("HcrDAL");
        }
        public static ILtrDAL CreateLtrDAL()
        {
            return (ILtrDAL)DependencyInjector.GetDALObject("LtrDAL");
        }
        public static IGpwfDAL CreateGpwfDAL()
        {
            return (IGpwfDAL)DependencyInjector.GetDALObject("GpwfDAL");
        }
        public static IDxcDAL CreateDxcDAL()
        {
            return (IDxcDAL)DependencyInjector.GetDALObject("DxcDAL");
        }
        public static IBkcdtDAL CreateBkcdtDAL()
        {
            return (IBkcdtDAL)DependencyInjector.GetDALObject("BkcdtDAL");
        }
        
        public static IRkcdtDAL CreateRkcdtDAL()
        {
            return (IRkcdtDAL)DependencyInjector.GetDALObject("RkcdtDAL");
        }
        
        public static ILkcdtDAL CreateLkcdtDAL()
        {
            return (ILkcdtDAL)DependencyInjector.GetDALObject("LkcdtDAL");
        }
        
        public static IZkcdtDAL CreateZkcdtDAL()
        {
            return (IZkcdtDAL)DependencyInjector.GetDALObject("ZkcdtDAL");
        }
        public static IHkcdtDAL CreateHkcdtDAL()
        {
            return (IHkcdtDAL)DependencyInjector.GetDALObject("HkcdtDAL");
        }
    }
}
